<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: IEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="class_i_event-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">IEvent类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>事件接口  
 <a href="class_i_event.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_i_event_8h_source.html">IEvent.h</a>&gt;</code></p>
<div class="dynheader">
类 IEvent 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_i_event.png" usemap="#IEvent_map" alt=""/>
  <map id="IEvent_map" name="IEvent_map">
<area href="class_non_copyable.html" title="不可拷贝对象的基类" alt="NonCopyable" shape="rect" coords="128,0,246,24"/>
<area href="class_event.html" title="事件的基类" alt="Event" shape="rect" coords="0,112,118,136"/>
<area href="class_input_event.html" title="输入事件" alt="InputEvent" shape="rect" coords="128,112,246,136"/>
<area href="class_widget_event.html" title="窗口事件的基类" alt="WidgetEvent" shape="rect" coords="576,112,694,136"/>
<area href="class_event_character.html" title="字符输入事件" alt="EventCharacter" shape="rect" coords="0,168,118,192"/>
<area href="class_event_key.html" title="键盘事件" alt="EventKey" shape="rect" coords="128,168,246,192"/>
<area href="class_event_mouse.html" title="鼠标事件" alt="EventMouse" shape="rect" coords="256,168,374,192"/>
<area href="class_event_focus.html" title="焦点事件" alt="EventFocus" shape="rect" coords="384,168,502,192"/>
<area href="class_event_resize.html" title="控件尺寸变化事件" alt="EventResize" shape="rect" coords="512,168,630,192"/>
<area href="class_event_widget_active.html" title="窗口活动事件" alt="EventWidgetActive" shape="rect" coords="640,168,758,192"/>
<area href="class_event_widget_move.html" title="窗口移动事件" alt="EventWidgetMove" shape="rect" coords="768,168,886,192"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a7a6d9a9066a58a98341149ba51ddd836"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836">Type</a> { <br />
&#160;&#160;<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a3759e645060846af4d6b4e477ede09ae">Type::EventType_Mouse</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a223aa56f34c1651d6fb96d49241967e9">Type::EventType_Keyboard</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836aaafe9d74015a3050735804fbab0668f0">Type::EventType_Character</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a9e5170da879f25a5cd0efa70a5ee1a17">Type::EventType_WidgetFocus</a>, 
<br />
&#160;&#160;<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836af6fa9c2b3e3e57b80eb401ae2842d1e9">Type::EventType_WidgetMove</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a9bde4307b3058478a2923882167b85da">Type::EventType_WidgetActive</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a79d007656a606f1d4fd8477b46fa1fe4">Type::EventTYpe_WidgetResize</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a11dfeb337f9fd0d676e48878313ee058">Type::EventType_EnterWidget</a>, 
<br />
&#160;&#160;<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836abe1d563b80edcd568d94d6252683739a">Type::EventType_LeaveWIdget</a>, 
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836a2c5d9c8a562c51575e0f48b35a729b42">Type::EventType_NormalEvent</a>, 
<b>EventType_User</b>
<br />
 }</td></tr>
<tr class="separator:a7a6d9a9066a58a98341149ba51ddd836"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7ca44c4379e8072bc8abffc62ba4057f"><td class="memItemLeft" align="right" valign="top"><a id="a7ca44c4379e8072bc8abffc62ba4057f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>IEvent</b> (<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836">Type</a> type)</td></tr>
<tr class="separator:a7ca44c4379e8072bc8abffc62ba4057f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa629cc869e33e9ecea2866ebe9b882ff"><td class="memItemLeft" align="right" valign="top"><a id="aa629cc869e33e9ecea2866ebe9b882ff"></a>
<a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getType</b> ()</td></tr>
<tr class="separator:aa629cc869e33e9ecea2866ebe9b882ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed753b6e4fd690ee4d5acc4593392fbe"><td class="memItemLeft" align="right" valign="top"><a id="aed753b6e4fd690ee4d5acc4593392fbe"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isAccept</b> () const</td></tr>
<tr class="separator:aed753b6e4fd690ee4d5acc4593392fbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a010eb9314e9c68475b663f1c6eaf211e"><td class="memItemLeft" align="right" valign="top"><a id="a010eb9314e9c68475b663f1c6eaf211e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>accept</b> ()</td></tr>
<tr class="separator:a010eb9314e9c68475b663f1c6eaf211e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38ec1e5096378a675c4cd37e7f20bddc"><td class="memItemLeft" align="right" valign="top"><a id="a38ec1e5096378a675c4cd37e7f20bddc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>ignore</b> ()</td></tr>
<tr class="separator:a38ec1e5096378a675c4cd37e7f20bddc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_non_copyable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_non_copyable')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_non_copyable.html">NonCopyable</a></td></tr>
<tr class="memitem:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="a501d34ffcc34b30de6d541887a901057"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:a501d34ffcc34b30de6d541887a901057 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aa3e87997196c6c1abf6131246a5331e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>NonCopyable</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aa3e87997196c6c1abf6131246a5331e3 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="ad3b97d1f1e22a24e59619f01c5f81ad9"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;)=delete</td></tr>
<tr class="separator:ad3b97d1f1e22a24e59619f01c5f81ad9 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memItemLeft" align="right" valign="top"><a id="aca1805bcfcb18eb044b585e69a18e1e0"></a>
<a class="el" href="class_non_copyable.html">NonCopyable</a>&#160;</td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="class_non_copyable.html">NonCopyable</a> &amp;&amp;)=delete</td></tr>
<tr class="separator:aca1805bcfcb18eb044b585e69a18e1e0 inherit pub_methods_class_non_copyable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>事件接口 </p>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a7a6d9a9066a58a98341149ba51ddd836"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a6d9a9066a58a98341149ba51ddd836">&#9670;&nbsp;</a></span>Type</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_i_event.html#a7a6d9a9066a58a98341149ba51ddd836">IEvent::Type</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a3759e645060846af4d6b4e477ede09ae"></a>EventType_Mouse&#160;</td><td class="fielddoc"><p>鼠标事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a223aa56f34c1651d6fb96d49241967e9"></a>EventType_Keyboard&#160;</td><td class="fielddoc"><p>键盘事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836aaafe9d74015a3050735804fbab0668f0"></a>EventType_Character&#160;</td><td class="fielddoc"><p>字符输入事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a9e5170da879f25a5cd0efa70a5ee1a17"></a>EventType_WidgetFocus&#160;</td><td class="fielddoc"><p>窗口的焦点事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836af6fa9c2b3e3e57b80eb401ae2842d1e9"></a>EventType_WidgetMove&#160;</td><td class="fielddoc"><p>窗口移动事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a9bde4307b3058478a2923882167b85da"></a>EventType_WidgetActive&#160;</td><td class="fielddoc"><p>窗口活动事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a79d007656a606f1d4fd8477b46fa1fe4"></a>EventTYpe_WidgetResize&#160;</td><td class="fielddoc"><p>窗口的大小改变. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a11dfeb337f9fd0d676e48878313ee058"></a>EventType_EnterWidget&#160;</td><td class="fielddoc"><p>鼠标进入窗口的事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836abe1d563b80edcd568d94d6252683739a"></a>EventType_LeaveWIdget&#160;</td><td class="fielddoc"><p>鼠标离开窗口的事件. </p>
</td></tr>
<tr><td class="fieldname"><a id="a7a6d9a9066a58a98341149ba51ddd836a2c5d9c8a562c51575e0f48b35a729b42"></a>EventType_NormalEvent&#160;</td><td class="fielddoc"><p>标准的事件. </p>
</td></tr>
</table>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/base/<a class="el" href="_i_event_8h_source.html">IEvent.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
